package com.csdj.t301.mapper;

import com.csdj.t301.entity.User;
import org.apache.ibatis.annotations.Param;

/**
 * author:cloud
 * date:2021/3/11 0011
 **/
public interface UserMapper {

    int findUserCount();

    int update(User user);

    User findById(int id);

    User login(@Param("username")String username,
               @Param("password")String password);
}
